package com.luych.toolbox.automation.service.entity;

import com.luych.toolbox.common.enums.AutoTaskTemplateNodeStdinType;
import com.luych.toolbox.common.service.base.BaseEntity;

import javax.persistence.*;

@Entity
@Table(name = "auto_task_template_node_stdin")
public class AutoTaskTemplateNodeStdin extends BaseEntity {

    @Column(name = "auto_task_template_node_id")
    private String autoTaskTemplateNodeId;
    @Column(name = "script_arg_id")
    private String scriptArgId;
    @Column(name = "stdin_type")
    @Enumerated(EnumType.STRING)
    private AutoTaskTemplateNodeStdinType type;
    @Column(name = "auto_task_template_arg_id")
    private String autoTaskTemplateArgId;
    @Column(name = "stdin_value")
    private String value;

    public String getAutoTaskTemplateNodeId() {
        return autoTaskTemplateNodeId;
    }

    public void setAutoTaskTemplateNodeId(String autoTaskTemplateNodeId) {
        this.autoTaskTemplateNodeId = autoTaskTemplateNodeId;
    }

    public String getScriptArgId() {
        return scriptArgId;
    }

    public void setScriptArgId(String scriptArgId) {
        this.scriptArgId = scriptArgId;
    }

    public AutoTaskTemplateNodeStdinType getType() {
        return type;
    }

    public void setType(AutoTaskTemplateNodeStdinType type) {
        this.type = type;
    }

    public String getAutoTaskTemplateArgId() {
        return autoTaskTemplateArgId;
    }

    public void setAutoTaskTemplateArgId(String autoTaskTemplateArgId) {
        this.autoTaskTemplateArgId = autoTaskTemplateArgId;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}